home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / tex / manprint.zip / MANPRINT.C < prev    next >
C/C++ Source or Header  |  1993-01-27  |  204b  |  18 lines

  1. #include <stdio.h>
  2.  
  3. void main()
  4. {
  5.     while(!feof(stdin))
  6.         {
  7.         char a;
  8.         int x;
  9.  
  10.         a = getc(stdin);
  11.  
  12.         if(a == 8)
  13.             for(x = 0; x < 5; x++)
  14.                 getc(stdin);
  15.         else
  16.             putc(a, stdout);
  17.         }
  18. }